import ajax from '@/utils/request.js';


// 发送视频
export function createSkeletonVideo(data) {
	return ajax({
		url: '/mobile/im/createSkeletonVideo',
		method: 'POST',
		data
	})
}

// 同步消息
export function saveChatLog(data) {
	return ajax({
		url: '/mobile/im/saveChatLog',
		method: 'POST',
		data
	})
}

//im点击第一种消息类型
export function putImClickParams(data) {
	return ajax({
		url: '/mobile/im/putImClickParams',
		method: 'POST',
		data
	})
}

//创建im群聊
export function createImGroup(data) {
	return ajax({
		url: '/mobile/student/index/createImGroup/',
		method: 'GET',
		data
	})
}

//创建im私聊
export function getConversationld(data) {
	return ajax({
		url: '/mobile/im/getConversationId',
		method: 'POST',
		data
	})
}
